sudo apt update
sudo apt install -y libopencv-dev python3-opencv
python3 -c "import cv2; print(cv2.__version__)"